package template.demo2;

/**
 * 模板方法模式.
 *
 * @author GongXincheng
 * @since 2019-09-17 18:07
 */
public class Main {

    public static void main(String[] args) {

        BasePaperTest stu1 = new StudentOneAnswer();
        stu1.question1();
        stu1.question2();
        stu1.question3();

        BasePaperTest stu2 = new StudentTwoAnswer();
        stu2.question1();
        stu2.question2();
        stu2.question3();
    }

}
